package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/11/3 13:30
 */
@FieldTypeAnnotation(tableName = "t_l_ck_fishpond_badge", desc = "鱼塘徽章等级提升日志", autoSave = true, uploadCk = true)
public class LogFishPondBadge extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前徽章id")
    private int curBadgeId;
    @FieldTypeAnnotation(desc = "晋升前徽章id")
    private int oldBadgeId;
    @FieldTypeAnnotation(desc = "渔翁积分")
    private long score;

    public LogFishPondBadge(long userId, int curBadgeId, int oldBadgeId, long score) {
        this.userId = userId;
        this.curBadgeId = curBadgeId;
        this.oldBadgeId = oldBadgeId;
        this.score = score;
    }

    public long getUserId() {
        return userId;
    }

}
